home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / gt_power / gth035.zip / ROUTING.HLP < prev    next >
Text File  |  1990-06-30  |  17KB  |  503 lines

  1.  
  2. ╔═════════╦════════════════════════════════════════════════════════════
  3. ║ GT-HELP ║ ROUTING.BBS - the standard routing file.
  4. ╚═════════╩════════════════════════════════════════════════════════════
  5.  
  6.     The routing file is used to prevent you from placing *direct* calls to
  7.     every node that you have mail for.
  8.  
  9.     In theory, you don't need a routing file - if you don't have one, then
  10.     you simply call everybody in the nodelist direct.
  11.  
  12.     In practice, almost everybody has one.  Its usually cheaper and more
  13.     efficient to work through the local hub.  Unless of course you *are*
  14.     the local hub - in which case you *certainly* need a routing file.
  15.  
  16.  
  17. ┌──────────────────────────────────────────────────────────────────┐
  18. │ Simple Setup - all mail via a STATIC hub (ie, you call it daily) │
  19. └──────────────────────────────────────────────────────────────────┘
  20.  
  21.     PREFIXES LOCAL(+) DISTANT(*)
  22.     END
  23.     ;
  24.     ;   As your hub is probably going to match the LOCAL prefix, it may be
  25.     ;   useful to set the DISTANT prefix (defined in the ALT-I screen, "*" in
  26.     ;   this case) to and invalid dialcode, which will prevent it from dialling
  27.     ;   Outer Mongolia if for some reason mail does not get consolidated properly.
  28.     ;
  29.     ;   (This will however prevent you placing .DX calls to other nodes, so
  30.     ;   you may wish to remove it after you are sure all is OK).
  31.     ;
  32.     ;   See Prefixes below for more information.
  33.     ;
  34.     ;
  35.     OUTBOUND NODES
  36.         050/001
  37.     END
  38.     ;
  39.     ; 050/001 is listed as outbound to make sure I call it every day, even
  40.     ; if I have no mail to go there.
  41.     ;
  42.     ;
  43.     BAG CONSOLIDATION
  44.         050/001
  45.     END
  46.     ;
  47.     ;   This creates a G bag containing all 050/001 mail (faster than
  48.     ;   separate bags)
  49.     ;
  50.     ;
  51.     ROUTING INSTRUCTIONS
  52.         FORWARD 001-899/000-899 -> 050/001
  53.     END
  54.     ;
  55.     ;
  56.     Everything to my hub - can't get much simpler than that.
  57.     ;
  58.  
  59.  
  60. ┌────────────────────────────────────────────────────────────────────┐
  61. │ Simple Setup - all mail via an ACTIVE hub (ie, it calls you daily) │
  62. └────────────────────────────────────────────────────────────────────┘
  63.  
  64.     The same as the above, but *delete* the OUTBOUND NODES section and
  65.     replace it with
  66.  
  67.     INBOUND NODES
  68.        050/001
  69.     END
  70.     ;
  71.     ;   Don't call this node, even if there is mail for it.
  72.     ;
  73.  
  74.  
  75. ┌─────────────────────────────────────────────┐
  76. │ Handling echos which somebody else sponsors │
  77. └─────────────────────────────────────────────┘
  78.  
  79.     For this example, lets assume the echos you need are :
  80.  
  81.             E38/013     Northumberland Widgets
  82.             E42/293     Apathy Anonymous
  83.  
  84.     a)  Make sure that your hub is sending you mail in G bags.
  85.  
  86.     b)  Create directories for the message bases, add entries in GTMDIR.BBS
  87.         for the echos :
  88.  
  89.             P ^D:\NORWID      Northumberland Widgets (E38/013)
  90.             R ^E:\APATHY      Apathy Anonymous       (E42/293)
  91.  
  92.     c)  Add a message distribution section to your ROUTING.BBS :
  93.  
  94.     MESSAGE DISTRIBUTION
  95.         E38/013 -> D:\NORWID    ,Northumberland_Widgets
  96.         E42/293 -> E:\APATHY    ,Apathy_Anonymous
  97.     END
  98.  
  99.     d)  Add the "upstream" information to the ROUTING section:
  100.  
  101.     ROUTING INSTRUCTIONS
  102.         FORWARD 001-899/000-899 -> 050/001
  103.         ACCEPT E38/013 -> 050/001
  104.         ACCEPT E42/293 -> 050/001
  105.     END
  106.  
  107.     e)  Send a netmail message to your hub containing the request commands:
  108.  
  109.     .GM E38/013
  110.     .GM E42/293
  111.  
  112.     f)  Ignore all references in documents to a REQUEST ECHOMAIL
  113.         CONFERENCES section.  Unless the hub you are collecting it from is
  114.         running a very old version of the netmail software, the bag
  115.         consolidation method is a much more efficient way of collecting
  116.         echos.
  117.  
  118.  
  119. ┌──────────────────────────────────┐
  120. │ Handling echos which YOU sponsor │
  121. └──────────────────────────────────┘
  122.  
  123.     a)  Obtain an echo id and its CRC from your echo coordinator.
  124.  
  125.         For this example, lets assume this is :
  126.  
  127.             E27/123     Brontosaurus Spotting   (CRC 2468-2ABC)
  128.  
  129.     b)  Create directories for the message base, add entries in GTMDIR.BBS
  130.         for the echo :
  131.  
  132.             F ^D:\BRONTO      Brontosaurus Spotting  (E27/123)
  133.  
  134.     b)  Add a message distribution section to your ROUTING.BBS :
  135.  
  136.     MESSAGE DISTRIBUTION
  137.         E38/013 -> D:\NORWID    ,Northumberland_Widgets
  138.         E42/293 -> E:\APATHY    ,Apathy_Anonymous
  139.         E27/123 -> D:\BRONTOS   ,Bronto_Spot
  140.     END
  141.  
  142.  
  143.     d)  Add the CRC information to the ROUTING section:
  144.  
  145.     ROUTING INSTRUCTIONS
  146.         FORWARD 001-899/000-899 -> 050/001
  147.         ACCEPT E38/013 -> 050/001
  148.         ACCEPT E42/293 -> 050/001
  149.         ACCEPT E27/123 $2468-2ABC
  150.     END
  151.  
  152.     e)  Ensure that you are consolidating mail to the intended
  153.         destination(s). You can either add the echo line to the
  154.         consolidation section :
  155.  
  156.     BAG CONSOLIDATION
  157.         050/001
  158.             E27/123
  159.     END
  160.  
  161.         or have the other node put in a .GM message for the echo.
  162.  
  163.  
  164. ┌──────────────────┐
  165. │ Handling Netmail │
  166. └──────────────────┘
  167.  
  168.     Apart from the ROUTING as mentioned above and described in more detail
  169.     later, the routing.bbs is not normally concerned with netmail.
  170.  
  171.     The netmail area is defined by the ~ prefix in GTMDIR.BBS (described in
  172.     another menu) and you should set up at least one such message area.
  173.  
  174.  
  175.  
  176.                      ┌────────────────────────┐
  177.                      │ The Sections in detail │
  178.                      └────────────────────────┘
  179.                  All sections are optional, and can
  180.                   simply be omitted if not needed.
  181.  
  182.      Note that all sections begin with a heading and end with END.
  183.                 The order of sections is unimportant.
  184.  
  185.  
  186. ┌──────────┐
  187. │ Prefixes │
  188. └──────────┘
  189.  
  190.     Usually, a prefix entry is needed to distinguish between local and long
  191.     distance numbers.  Typically :
  192.  
  193.         PREFIXES LOCAL(+) DISTANT(*)
  194.         END
  195.  
  196.     This specifies that:
  197.  
  198.     a)  "local" numbers (those in the nodelist that begin with the number
  199.         specified in AREA in my SCHEDULE.BBS) should be called by:
  200.  
  201.         i)      dialling the standard prefix, followed by whatever is
  202.                 configured as prefix +, both as defined in GT's ALT-I
  203.                 screen.
  204.  
  205.         ii)     *stripping off* the AREA code and dialling the balance of
  206.                 the number from the nodelist.
  207.  
  208.         iii)    dialling the standard suffix as configured by ALT-I.
  209.  
  210.     b)  all other numbers should be called by:
  211.  
  212.         i)      dialling the standard prefix, followed by whatever I
  213.                 configured as prefix *, both as defined in GT's ALT-I
  214.                 screen.
  215.  
  216.         ii)     dialling the *full* number from the nodelist.
  217.  
  218.         iii)    dialling the standard suffix as configured by ALT-I.
  219.  
  220.     If you are outside USA, you will probably need to segregate numbers
  221.     into at least THREE types.  GT only provides two, which means that you
  222.     will not be able to call all possible destinations during the same
  223.     mailslot.
  224.  
  225.     The easiest answer is to put most of the mail through a hub system.
  226.     Or, if you are the hub, to set up additional ROUTING files and operate
  227.     more than one mailslot.
  228.  
  229.  
  230. ┌────────────────────────────┐
  231. │ Inbound and Outbound Nodes │
  232. └────────────────────────────┘
  233.  
  234.     By default, GT will CALL those nodes which it has mail for.  It will
  235.     not call other nodes, nor will it call nodes whose mail is being
  236.     FORWARDED via another node (unless there is a DX message for that
  237.     node).
  238.  
  239.     If there are nodes you wish to call even when though you have NO mail
  240.     for it, then you specify them as OUTBOUND.  If working through a hub,
  241.     you would probably do that to ensure you place a daily call to pick up
  242.     any mail for you.
  243.  
  244.     If there are nodes you do not wish to call even when you do have mail
  245.     for them, then you specify them as INBOUND.  Usually it only makes
  246.     sense to do that if they are going to call you regularly.  It is not
  247.     necessary to do that for nodes which are defined on the left side of an
  248.     ACCEPT or FORWARD statement.
  249.  
  250.     Examples:
  251.  
  252.         INBOUND NODES
  253.            050/030
  254.         END
  255.         OUTBOUND NODES
  256.            050/001
  257.            050/022
  258.         END
  259.  
  260.  
  261. ┌──────────────────────┐
  262. │ Routing Instructions │
  263. └──────────────────────┘
  264.  
  265.     Types of instructions:
  266.  
  267.         FORWARD 003-008/000-899 -> 050/001
  268.  
  269.             All mail for all nodes (ie nodes 0 to 899) in nets 3 to 8
  270.             should be forwarded to 050/001
  271.  
  272.         ACCEPT 020-020/000-899 -> 050/001
  273.  
  274.             As well as forwarding any of your own mail to the specified
  275.             nodes, you will also ACCEPT such mail from other sources and
  276.             pass it on.
  277.  
  278.         ACCEPT E34/246 $xxxx-yyyy
  279.  
  280.             An accept statement for an echo you sponsor, where xxxx-yyyy is
  281.             your echo CRC.
  282.  
  283.         ACCEPT E30/000-999 -> 050/001
  284.  
  285.             A general 'upstream' routing for echo bags in a particular
  286.             series.  Identifies where messages you enter in those echos
  287.             should be routed on their way to the sponsor.  Generally
  288.             expected to be an ACCEPT rather than a FORWARD, since others
  289.             should be able to route their upstream echo bags via you.
  290.  
  291.             Note:   It is wise to check that your next destination has an
  292.                     onward routing for any echos not sponsored there.
  293.  
  294.                     If the range overlaps an echo which you sponsor, be
  295.                     sure the sponsored echo is listed first.
  296.  
  297.  
  298. ┌───────────────────┐
  299. │ Bag Consolidation │
  300. └───────────────────┘
  301.  
  302.     In general, you should only include nodes that you connect with
  303.     directly in the consolidate list.  Indirect connections automatically
  304.     receive indirect consolidation, according to the ACCEPT/FORWARD
  305.     definitions in the routing section.
  306.  
  307.         BAG CONSOLIDATION
  308.             050/001,Q
  309.                 E27/123
  310.             050/022,QZ
  311.         END
  312.  
  313.     The ,Q indicates that the first node can handle Q bags.  If a Q bag
  314.     exists for E27/123 it will be sent, otherwise an E bag will be used.
  315.  
  316.     Note:   Although E27/123 is shown listed here, it is usually better to
  317.             control echo consolidation either by the caller sending a .GM
  318.             request or using MEDIT.  The problem is that putting it in the
  319.             routing file is a NON-reversible process - when you take it
  320.             out, the echo continues to be consolidated - which makes for
  321.             confusion.
  322.  
  323.     The ,QZ indicates that the second node has also requested Zipped Gbags.
  324.     (default is to use PKARC).  Use the zip option only if the recipient
  325.     requests it, it makes larger G bags.
  326.  
  327.  
  328. ┌─────────┐
  329. │ Pursuit │
  330. └─────────┘
  331.  
  332.     Pursuit is a system available only to US users in certain areas.  Its
  333.     format is :
  334.  
  335.         PURSUIT
  336.             ACCESS=
  337.             USERID=
  338.             PASSWORD=
  339.             CITIES
  340.                 201,NJNEW-Newark
  341.                 216,OHCLV-Cleveland
  342.                 202,DCWAS-Washington
  343.                 305,FLMIA-Miami
  344.                 206,WASEA-Seattle
  345.  
  346.                 All 33 (???) cities should be included.
  347.         END
  348.  
  349.  
  350. ┌───────────────┐
  351. │ Long Distance │
  352. └───────────────┘
  353.  
  354.     This section is used to identify individual nodes, or a range of nodes
  355.     within a particular net, whose telephone numbers match the AREA entry
  356.     in SCHEDULE.BBS but should nevertheles use the Long Distance prefix (as
  357.     defined in the Prefixes section) rather than the local one.
  358.  
  359.         LONG DISTANCE
  360.             001/002-005
  361.             002/020-022
  362.         END
  363.  
  364.  
  365. ┌──────────────────┐
  366. │ Pickup Overrides │
  367. └──────────────────┘
  368.  
  369.     When MDRIV calls a number in your own net, it delivers mail and also
  370.     requests to pick up any mail for you.  When it calls a number outside
  371.     your own net it will only *deliver* mail - unless the destination
  372.     matches an entry in the pickup list.
  373.  
  374.         PICKUP OVERRIDES
  375.             003/004-005
  376.         END
  377.  
  378.  
  379. ┌─────────────────┐
  380. │ Request Echo... │
  381. └─────────────────┘
  382.  
  383.     Echos now generally travel in consolidated bags -- so for most purposes
  384.     you can *ignore* this section.
  385.  
  386.     You should certainly not list any echo here which is also being
  387.     delivered in a consolidated bag.
  388.  
  389.     If you *do* need to use this section, eg if you are picking it up
  390.     direct from a board with an old version of netmail, its format is :
  391.  
  392.         REQUEST ECHOMAIL
  393.             E00/002
  394.             E00/008
  395.         END
  396.  
  397.     Such a request has to be used in conjunction with an ACCEPT statement
  398.     in the routing section, eg
  399.  
  400.         ACCEPT E00/002 -> 050/001
  401.  
  402.     defining 050/001 as the next upstream node, from which the distributed
  403.     echo bags are collected.
  404.  
  405.  
  406. ┌──────────────────────┐
  407. │ Message Distribution │
  408. └──────────────────────┘
  409.  
  410.     Echos which you handle - whether as sponsor or subscriber - should
  411.     normally have an entry here.
  412.  
  413.         MESSAGE DISTRIBUTION
  414.             E38/013 -> D:\NORWID    ,Northumberland_Widgets
  415.             E42/293 -> E:\APATHY    ,Apathy_Anonymous
  416.             E51/127 -> D:\XXXX      ;Jam_Recipes (Topsecret)
  417.         END
  418.  
  419.     The information after the comma is optional and purely for
  420.     identification.  It is used as an archive comment when zipping the
  421.     messages and it is reported in response to a .GL request.
  422.  
  423.     In greater detail :
  424.  
  425.        ┌──────────────────────────────────── Echo ID
  426.        │     ┌──────────────────────────────── Keep bags for 10 days
  427.        │     │ ┌──────────────────────────────── Generate Q bags
  428.        │     │ │       ┌────────────────────────── Message base path
  429.        │     │ │       │                         ┌── Comma to include in .GL
  430.        │     │ │       │     ┌───────────────────┴── or Semicolon to exclude
  431.        │     │ │       │     │       ┌────────────────── Comment
  432.        │     │ │       │     │       │          ┌───────── Optional Password
  433.     ───┴─── ─┘ │    ───┴───  │ ──────┴──── ─────┴─────
  434.     E51/127,10,Q -> D:\XXXX  ; Jam_Recipes (Topsecret)
  435.  
  436.     The Q option is appropriate only on echos which you sponsor.
  437.  
  438.  
  439.  
  440.     A semicolon in place of a comma omits that echo from the .GL listing.
  441.     A word enclosed in parentheses (round brackets) acts as an encryption
  442.     password for the echo.
  443.  
  444.     Note:   A common error is putting a comment like (new) in parentheses
  445.             against a description - the echo gets unintentionally encrypted
  446.             using the comment as a password.
  447.  
  448.  
  449.     If you are a hub, you may be collecting echos which do not need to be
  450.     distributed into a local message base.  Such echos do not need an entry
  451.     in the message distribution section.
  452.  
  453.  
  454. DISTRIBUTING NETMAIL
  455. --------------------
  456.  
  457.     Normally, netmail does not need to have a distribution entry.  In the
  458.     absence of instructions to the contrary, netmail will be distributed to
  459.     the first message base listed in GTMDIR.BBS with a ~ prefix.
  460.  
  461.     If you have a lot of netmail from particular nets or nodes, then it is
  462.     possible to dedicate an area specifically to receive netmail from those
  463.     nodes :
  464.  
  465.     a)  set up an additional message area in GTMDIR.BBS, ensuring that it
  466.         has the ~ prefix and is listed *after* your main netmail area.
  467.  
  468.     b)  add an entry in the MESSAGE DISTRIBUTION section such as
  469.  
  470.             050/001-999 -> D:\LOCALNET
  471.  
  472.         which would have the effect of distributing messages from any node
  473.         in net 050 to the specified message base.
  474.  
  475.  
  476. ┌────────────────┐
  477. │ Echomail Hours │
  478. └────────────────┘
  479.  
  480.     Used to restrict the time in which echo requests can be processed.  An
  481.     exception to the normal section rules, this has no heading or end.
  482.  
  483.         ECHOMAIL HOURS 0400-0500
  484.  
  485.     Echomail now mostly travels in consolidated bags, which are exempt from
  486.     the restriction, so this statement is virtually obsolete.
  487.  
  488.  
  489. ┌────────────────┐
  490. │ Excluded Nodes │
  491. └────────────────┘
  492.  
  493.     Normally you would not have any requirement to exclude any node, but
  494.     this section can be used to prevent certain nodes from calling you
  495.     direct.
  496.  
  497.         EXCLUDED NODES
  498.             001/534
  499.             002/467
  500.         END
  501.  
  502.  
  503.